package com.anche.cywebnew.Service.exchangeManager;



import com.anche.cywebnew.Pojo.exchangeManager.YyDataBase;
import com.anche.cywebnew.Pojo.exchangeManager.message.MessageLog;

import java.time.LocalDateTime;
import java.util.List;

public interface DataService {

    int insertOne(YyDataBase yyDataBase);

    List<YyDataBase> selectList();

    List<YyDataBase> selectList2();


    int updateOne(YyDataBase data);

    int deleteList(LocalDateTime sevenDaysAgo);


    String selectDataBase(YyDataBase yyDataBase);

    YyDataBase selectDataBaseById(String id);

    void insetMessageLog(MessageLog messageLog);

    int selectMessageNumByCylsh(String cylsh);

    void updateMessageNumByCylsh(String cylsh, int messagenum,String lszt);

    String selectMessageStatusByCylsh(String cylsh);
}
